package org.corey.wyp.manager
{
	import mx.core.Container;
	import mx.core.UIComponent;
	import mx.effects.Resize;
	
	import org.corey.wyp.view.financeContent.MonthAccountView;
	
	public class SlaveLayoutManagerBase extends LayoutManagerBase
	{
		public function SlaveLayoutManagerBase(parent:Container,self:UIComponent)
		{
			super(parent,self);
		}
		
		public override function applyLayout(animate:Boolean):void{
			var resize:Resize=new Resize();
			var oldUI:MonthAccountView=MonthAccountView(parent.getChildren()[0]);
			oldUI.collapseMain();
			oldUI.showSlave();
		}

	}
}